home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Magazine / C_Tutorial / Part-13 / PatchLib / source / PatchFreeVec.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-01  |  883 b   |  43 lines

  1. /*
  2. **    patch.library
  3. **
  4. **    Copyright © 1993-1997 by Stefan Fuchs
  5. **        Freely distributable.
  6. */
  7.  
  8. #ifndef _PATCH_INCLUDES_H
  9. #include "patch_includes.h"
  10. #endif
  11.  
  12.  
  13. /****** patch.library/PatchFreeVec ***************************************
  14. *
  15. *   NAME
  16. *        PatchFreeVec -- free patch.library structures (V3)
  17. *
  18. *   SYNOPSIS
  19. *        PatchFreeVec(memoryBlock)
  20. *                     A1
  21. *
  22. *        void PatchFreeVec(void *);
  23. *
  24. *   FUNCTION
  25. *        Free memory and structures used by patch.library. The memory will
  26. *        be returned to the system pool from which it came.
  27. *
  28. *   NOTE
  29. *
  30. *   INPUTS
  31. *        memoryBlock - pointer to the memory block to free, or NULL.
  32. *
  33. *   SEE ALSO
  34. *        GetPatch(), exec.library/FreeVec
  35. *
  36. ******************************************************************************
  37. *
  38. */
  39.  
  40. void LIBFUNC PatchFreeVec( REGA1 APTR memptr GNUC_REGA1)
  41. {
  42.     AFreemem( memptr);
  43. }